-
Notifications
You must be signed in to change notification settings - Fork 17.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add RC option for flightmode pause/resume #26748
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this, we surely need to update some parameter docs..
I wonder if it should be FLIGHTMODE_PAUSE or maybe just Pause? It doesn't work in all modes so we might want to display a failure to the user.
e488660
to
60788fb
Compare
|
Whoops. Added the parameter docs.
Now displays a failure to the user if they try to use it and the mode says no. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
I think that Rover could probably support pausing now too now that it uses SCurves. Just musing though and not in any way trying to add to your work load because nobody's actually asked for it yet.
@mustafa-gokce did offer an implementation: #19552 |
OK, thanks. That implementation is OK but we should do it the same way we've done it for Copter which works better especially when the vehicle is in the middle of a corner. |
Tested in SITL with both guided/auto on Copter.